/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aviso.property.helpers;

import aviso.property.entity.Property;

/**
 *
 * @author avgusti
 */
public class PropertyFilterString extends PropertyFilter {

    String val;

    public PropertyFilterString(Property p,String val) {
        super(p);
        this.val = val;
    }

    @Override
    public boolean match(Object val) {
        return this.val.equals(val);
    }
}
